import request from "@/utils/request"

export default {

     findUserById: (userId) => {
         return new Promise((resolve, reject) => {
             resolve({
                 ok:true,
                 msg: "",
                 data: []
             })
         });
    }

    , searchUser: (keyword) => {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }

    , applyFriend: (userId) => {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }

    , deleteFriend: (userId) => {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }

    , agreedFriend: (userId) => {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }

    , refuseFriend: (userId) => {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }

    , addToBlack: (userId) => {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }

    , removeFromBlack: (userId) => {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }

    ,findConvIdsByChatuser: (chatuser)=> {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }
    //获取聊天信息流
    ,findConversationById: (convId)=> {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }
    /**
     * 获取联系人列表
     */
    ,findContactList: () => {
        return new Promise((resolve, reject) => {
            resolve({
                "code": 0,
                "msg": "",
                "data": {
                    "userId": "chid_296e97915583",
                    "friends": [
                        {
                            "relId": "5",
                            "userId": "chid_5fbbd280a73c",
                            "aliasName": "Almond",
                            "username": "Almond",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_5fbbd280a73c_avatar_45936c",
                            "nickname": "Almond",
                            "gender": 0,
                            "firstLetter": "A"
                        },
                        {
                            "relId": "38",
                            "userId": "chid_4ebadcbe2f30",
                            "aliasName": "Apricot",
                            "username": "Apricot",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_4ebadcbe2f30_avatar_fb7107",
                            "nickname": "Apricot",
                            "gender": 0,
                            "firstLetter": "A"
                        },
                        {
                            "relId": "131",
                            "userId": "chid_b7c8251b1263",
                            "aliasName": "Bitter",
                            "username": "Bitter",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_b7c8251b1263_avatar_a837da",
                            "nickname": "Bitter",
                            "gender": 0,
                            "firstLetter": "B"
                        },
                        {
                            "relId": "32",
                            "userId": "chid_897a78720f47",
                            "aliasName": "Blackberry",
                            "username": "Blackberry",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_897a78720f47_avatar_acb0c7",
                            "nickname": "Blackberry",
                            "gender": 0,
                            "firstLetter": "B"
                        },
                        {
                            "relId": "44",
                            "userId": "chid_dbea8818b5ef",
                            "aliasName": "Carambola",
                            "username": "Carambola",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_dbea8818b5ef_avatar_922525",
                            "nickname": "Carambola",
                            "gender": 0,
                            "firstLetter": "C"
                        },
                        {
                            "relId": "30",
                            "userId": "chid_4100e67e04a1",
                            "aliasName": "Cherry",
                            "username": "Cherry",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_4100e67e04a1_avatar_d6807f",
                            "nickname": "Cherry",
                            "gender": 0,
                            "firstLetter": "C"
                        },
                        {
                            "relId": "50",
                            "userId": "chid_15625f86e09b",
                            "aliasName": "Chestnut",
                            "username": "Chestnut",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_15625f86e09b_avatar_542d99",
                            "nickname": "Chestnut",
                            "gender": 0,
                            "firstLetter": "C"
                        },
                        {
                            "relId": "26",
                            "userId": "chid_7dc542eaec2e",
                            "aliasName": "Crabapple",
                            "username": "Crabapple",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_7dc542eaec2e_avatar_b734f6",
                            "nickname": "Crabapple",
                            "gender": 0,
                            "firstLetter": "C"
                        },
                        {
                            "relId": "363",
                            "userId": "chid_caedf9de88ea",
                            "aliasName": "Cranberry",
                            "username": "Cranberry",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_caedf9de88ea_avatar_3feb98",
                            "nickname": "Cranberry",
                            "gender": 0,
                            "firstLetter": "C"
                        },
                        {
                            "relId": "403",
                            "userId": "chid_d2fdf65e3c80",
                            "aliasName": "Cumquat",
                            "username": "Cumquat",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_d2fdf65e3c80_avatar_b833e7",
                            "nickname": "Cumquat",
                            "gender": 0,
                            "firstLetter": "C"
                        },
                        {
                            "relId": "34",
                            "userId": "chid_c68c371b2cc8",
                            "aliasName": "Damson",
                            "username": "Damson",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_c68c371b2cc8_avatar_d0f0b2",
                            "nickname": "Damson",
                            "gender": 0,
                            "firstLetter": "D"
                        },
                        {
                            "relId": "647",
                            "userId": "chid_f36dada73715",
                            "aliasName": "Haw",
                            "username": "Haw",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_f36dada73715_avatar_c6c7b2",
                            "nickname": "Haw",
                            "gender": 0,
                            "firstLetter": "H"
                        },
                        {
                            "relId": "28",
                            "userId": "chid_35e7a37989a8",
                            "aliasName": "Lichee",
                            "username": "Lichee",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_35e7a37989a8_avatar_8342d3",
                            "nickname": "Lichee",
                            "gender": 0,
                            "firstLetter": "L"
                        },
                        {
                            "relId": "781",
                            "userId": "chid_e0259fcff4fd",
                            "aliasName": "Longan",
                            "username": "Longan",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_e0259fcff4fd_avatar_34c65a",
                            "nickname": "Longan",
                            "gender": 0,
                            "firstLetter": "L"
                        },
                        {
                            "relId": "817",
                            "userId": "chid_85e98a9be358",
                            "aliasName": "Loquat",
                            "username": "Loquat",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_85e98a9be358_avatar_ad0d59",
                            "nickname": "Loquat",
                            "gender": 0,
                            "firstLetter": "L"
                        },
                        {
                            "relId": "46",
                            "userId": "chid_d9db128bacb3",
                            "aliasName": "Mango",
                            "username": "Mango",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_d9db128bacb3_avatar_b95b9f",
                            "nickname": "Mango",
                            "gender": 0,
                            "firstLetter": "M"
                        },
                        {
                            "relId": "925",
                            "userId": "chid_c1da07892895",
                            "aliasName": "Mangosteen",
                            "username": "Mangosteen",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_c1da07892895_avatar_22e8e3",
                            "nickname": "Mangosteen",
                            "gender": 0,
                            "firstLetter": "M"
                        },
                        {
                            "relId": "52",
                            "userId": "chid_0e66bfb33bd0",
                            "aliasName": "Olive",
                            "username": "Olive",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_0e66bfb33bd0_avatar_1b6411",
                            "nickname": "Olive",
                            "gender": 0,
                            "firstLetter": "O"
                        },
                        {
                            "relId": "1177",
                            "userId": "chid_4fc082887d08",
                            "aliasName": "Persimmon",
                            "username": "Persimmon",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_4fc082887d08_avatar_5d9c39",
                            "nickname": "Persimmon",
                            "gender": 0,
                            "firstLetter": "P"
                        },
                        {
                            "relId": "40",
                            "userId": "chid_68973ef1eedf",
                            "aliasName": "Pistachio",
                            "username": "Pistachio",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_68973ef1eedf_avatar_883388",
                            "nickname": "Pistachio",
                            "gender": 0,
                            "firstLetter": "P"
                        },
                        {
                            "relId": "1311",
                            "userId": "chid_cf22e2d202c2",
                            "aliasName": "Pomelo",
                            "username": "Pomelo",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_cf22e2d202c2_avatar_51d8b1",
                            "nickname": "Pomelo",
                            "gender": 0,
                            "firstLetter": "P"
                        },
                        {
                            "relId": "36",
                            "userId": "chid_0e47fb7ebe13",
                            "aliasName": "Rambutan",
                            "username": "Rambutan",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_0e47fb7ebe13_avatar_81fc8d",
                            "nickname": "Rambutan",
                            "gender": 0,
                            "firstLetter": "R"
                        },
                        {
                            "relId": "1365",
                            "userId": "chid_a81d47ada607",
                            "aliasName": "Raspberry",
                            "username": "Raspberry",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_a81d47ada607_avatar_c790f7",
                            "nickname": "Raspberry",
                            "gender": 0,
                            "firstLetter": "R"
                        },
                        {
                            "relId": "42",
                            "userId": "chid_b7f7b82686fc",
                            "aliasName": "Walnut",
                            "username": "Walnut",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_b7f7b82686fc_avatar_145e2d",
                            "nickname": "Walnut",
                            "gender": 0,
                            "firstLetter": "W"
                        },
                        {
                            "relId": "48",
                            "userId": "chid_e3231f735a3d",
                            "aliasName": "guest",
                            "username": "guest",
                            "avatarUrl": "http://101.43.102.215:9000/freechat-picture/guest_avatar_1707c6",
                            "nickname": "guest",
                            "gender": 0,
                            "firstLetter": "g"
                        }
                    ],
                    "blackIds": [
                        "ch_ffffffeeeeee"
                    ]
                },
                "ok": true
            })
        });
    }

    /**
     * 获取聊天列表
     */
    ,findChatterRelationList: () => {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }
    /**
     * 获取群组列表
     */
     ,findChatGroupList: () => {
        return new Promise((resolve, reject) => {
            resolve({
                "code": 0,
                "msg": "",
                "data": [
                    {
                        "relId": 2,
                        "groupNo": "8909028571",
                        "name": "IfLdGrkSht",
                        "avatarUrl": "https://picsum.photos/300",
                        "users": [
                            {
                                "userId": "chid_0376ad0ee5ff",
                                "aliasName": "Orange",
                                "nickname": "Orange",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_0376ad0ee5ff_avatar_dca37f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_296e97915583",
                                "aliasName": "Apple",
                                "nickname": "Apple",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_296e97915583_avatar_7fb9d9",
                                "gender": 0
                            },
                            {
                                "userId": "chid_4ebadcbe2f30",
                                "aliasName": "Apricot",
                                "nickname": "Apricot",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_4ebadcbe2f30_avatar_fb7107",
                                "gender": 0
                            },
                            {
                                "userId": "chid_68973ef1eedf",
                                "aliasName": "Pistachio",
                                "nickname": "Pistachio",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_68973ef1eedf_avatar_883388",
                                "gender": 0
                            },
                            {
                                "userId": "chid_85e98a9be358",
                                "aliasName": "Loquat",
                                "nickname": "Loquat",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_85e98a9be358_avatar_ad0d59",
                                "gender": 0
                            },
                            {
                                "userId": "chid_b199b2adb6df",
                                "aliasName": "Strawberry",
                                "nickname": "Strawberry",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_b199b2adb6df_avatar_29883e",
                                "gender": 0
                            },
                            {
                                "userId": "chid_c288090b3f7a",
                                "aliasName": "Pitaya",
                                "nickname": "Pitaya",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_c288090b3f7a_avatar_97bba3",
                                "gender": 0
                            }
                        ]
                    },
                    {
                        "relId": 6,
                        "groupNo": "6619606253",
                        "name": "wsNGpEKfHY",
                        "avatarUrl": "https://picsum.photos/300",
                        "users": [
                            {
                                "userId": "chid_15625f86e09b",
                                "aliasName": "Chestnut",
                                "nickname": "Chestnut",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_15625f86e09b_avatar_542d99",
                                "gender": 0
                            },
                            {
                                "userId": "chid_296e97915583",
                                "aliasName": "Apple",
                                "nickname": "Apple",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_296e97915583_avatar_7fb9d9",
                                "gender": 0
                            },
                            {
                                "userId": "chid_35e7a37989a8",
                                "aliasName": "Lichee",
                                "nickname": "Lichee",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_35e7a37989a8_avatar_8342d3",
                                "gender": 0
                            },
                            {
                                "userId": "chid_7be2cd8b6bc2",
                                "aliasName": "Muskmelon",
                                "nickname": "Muskmelon",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_7be2cd8b6bc2_avatar_297555",
                                "gender": 0
                            },
                            {
                                "userId": "chid_897a78720f47",
                                "aliasName": "Blackberry",
                                "nickname": "Blackberry",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_897a78720f47_avatar_acb0c7",
                                "gender": 0
                            },
                            {
                                "userId": "chid_b7c8251b1263",
                                "aliasName": "Bitter",
                                "nickname": "Bitter",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_b7c8251b1263_avatar_a837da",
                                "gender": 0
                            },
                            {
                                "userId": "chid_d2fdf65e3c80",
                                "aliasName": "Cumquat",
                                "nickname": "Cumquat",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_d2fdf65e3c80_avatar_b833e7",
                                "gender": 0
                            },
                            {
                                "userId": "chid_d9db128bacb3",
                                "aliasName": "Mango",
                                "nickname": "Mango",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_d9db128bacb3_avatar_b95b9f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_e3231f735a3d",
                                "aliasName": "guest",
                                "nickname": "guest",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/guest_avatar_1707c6",
                                "gender": 0
                            },
                            {
                                "userId": "chid_ebb39bafdafd",
                                "aliasName": "Mandarin",
                                "nickname": "Mandarin",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_ebb39bafdafd_avatar_c5d009",
                                "gender": 0
                            }
                        ]
                    },
                    {
                        "relId": 8,
                        "groupNo": "2435643685",
                        "name": "uYMJZdsNRP",
                        "avatarUrl": "https://picsum.photos/300",
                        "users": [
                            {
                                "userId": "chid_1169567341e8",
                                "aliasName": "Durian",
                                "nickname": "Durian",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_1169567341e8_avatar_1ba211",
                                "gender": 0
                            },
                            {
                                "userId": "chid_296e97915583",
                                "aliasName": "Apple",
                                "nickname": "Apple",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_296e97915583_avatar_7fb9d9",
                                "gender": 0
                            },
                            {
                                "userId": "chid_371e262b22b9",
                                "aliasName": "Blueberry",
                                "nickname": "Blueberry",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_371e262b22b9_avatar_efe0c5",
                                "gender": 0
                            },
                            {
                                "userId": "chid_4fc082887d08",
                                "aliasName": "Persimmon",
                                "nickname": "Persimmon",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_4fc082887d08_avatar_5d9c39",
                                "gender": 0
                            },
                            {
                                "userId": "chid_5fbbd280a73c",
                                "aliasName": "Almond",
                                "nickname": "Almond",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_5fbbd280a73c_avatar_45936c",
                                "gender": 0
                            },
                            {
                                "userId": "chid_b47a12e59d7e",
                                "aliasName": "Kiwifruit",
                                "nickname": "Kiwifruit",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_b47a12e59d7e_avatar_f85b54",
                                "gender": 0
                            },
                            {
                                "userId": "chid_b7c8251b1263",
                                "aliasName": "Bitter",
                                "nickname": "Bitter",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_b7c8251b1263_avatar_a837da",
                                "gender": 0
                            },
                            {
                                "userId": "chid_d28fcf37b5a4",
                                "aliasName": "Lemon",
                                "nickname": "Lemon",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_d28fcf37b5a4_avatar_3cb59f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_d9db128bacb3",
                                "aliasName": "Mango",
                                "nickname": "Mango",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_d9db128bacb3_avatar_b95b9f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_e0259fcff4fd",
                                "aliasName": "Longan",
                                "nickname": "Longan",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_e0259fcff4fd_avatar_34c65a",
                                "gender": 0
                            },
                            {
                                "userId": "chid_e3231f735a3d",
                                "aliasName": "guest",
                                "nickname": "guest",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/guest_avatar_1707c6",
                                "gender": 0
                            }
                        ]
                    },
                    {
                        "relId": 11,
                        "groupNo": "1065213879",
                        "name": "QIGiDdnJHK",
                        "avatarUrl": "https://picsum.photos/300",
                        "users": [
                            {
                                "userId": "chid_1169567341e8",
                                "aliasName": "Durian",
                                "nickname": "Durian",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_1169567341e8_avatar_1ba211",
                                "gender": 0
                            },
                            {
                                "userId": "chid_15625f86e09b",
                                "aliasName": "Chestnut",
                                "nickname": "Chestnut",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_15625f86e09b_avatar_542d99",
                                "gender": 0
                            },
                            {
                                "userId": "chid_269b87e106f6",
                                "aliasName": "Guava",
                                "nickname": "Guava",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_269b87e106f6_avatar_a6a918",
                                "gender": 0
                            },
                            {
                                "userId": "chid_296e97915583",
                                "aliasName": "Apple",
                                "nickname": "Apple",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_296e97915583_avatar_7fb9d9",
                                "gender": 0
                            },
                            {
                                "userId": "chid_44a63d902aca",
                                "aliasName": "Pomegranate",
                                "nickname": "Pomegranate",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_44a63d902aca_avatar_24db9f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_68973ef1eedf",
                                "aliasName": "Pistachio",
                                "nickname": "Pistachio",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_68973ef1eedf_avatar_883388",
                                "gender": 0
                            },
                            {
                                "userId": "chid_6a767e0ef1e7",
                                "aliasName": "Grapefruit",
                                "nickname": "Grapefruit",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_6a767e0ef1e7_avatar_47dcbe",
                                "gender": 0
                            },
                            {
                                "userId": "chid_7be2cd8b6bc2",
                                "aliasName": "Muskmelon",
                                "nickname": "Muskmelon",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_7be2cd8b6bc2_avatar_297555",
                                "gender": 0
                            },
                            {
                                "userId": "chid_7dc542eaec2e",
                                "aliasName": "Crabapple",
                                "nickname": "Crabapple",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_7dc542eaec2e_avatar_b734f6",
                                "gender": 0
                            },
                            {
                                "userId": "chid_dbea8818b5ef",
                                "aliasName": "Carambola",
                                "nickname": "Carambola",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_dbea8818b5ef_avatar_922525",
                                "gender": 0
                            },
                            {
                                "userId": "chid_e3231f735a3d",
                                "aliasName": "guest",
                                "nickname": "guest",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/guest_avatar_1707c6",
                                "gender": 0
                            }
                        ]
                    },
                    {
                        "relId": 16,
                        "groupNo": "6680825146",
                        "name": "iynnYokLMG",
                        "avatarUrl": "https://picsum.photos/300",
                        "users": [
                            {
                                "userId": "chid_158e97a8b7e5",
                                "aliasName": "Custard",
                                "nickname": "Custard",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_158e97a8b7e5_avatar_1f3f6d",
                                "gender": 0
                            },
                            {
                                "userId": "chid_1bcebc476c09",
                                "aliasName": "Grape",
                                "nickname": "Grape",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_1bcebc476c09_avatar_c082fc",
                                "gender": 0
                            },
                            {
                                "userId": "chid_269b87e106f6",
                                "aliasName": "Guava",
                                "nickname": "Guava",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_269b87e106f6_avatar_a6a918",
                                "gender": 0
                            },
                            {
                                "userId": "chid_296e97915583",
                                "aliasName": "Apple",
                                "nickname": "Apple",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_296e97915583_avatar_7fb9d9",
                                "gender": 0
                            },
                            {
                                "userId": "chid_2c67d8135967",
                                "aliasName": "Shaddock",
                                "nickname": "Shaddock",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_2c67d8135967_avatar_4df13d",
                                "gender": 0
                            },
                            {
                                "userId": "chid_4394d037f639",
                                "aliasName": "Banana",
                                "nickname": "Banana",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_4394d037f639_avatar_00f490",
                                "gender": 0
                            },
                            {
                                "userId": "chid_44a63d902aca",
                                "aliasName": "Pomegranate",
                                "nickname": "Pomegranate",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_44a63d902aca_avatar_24db9f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_60dacd922a33",
                                "aliasName": "Nectarine",
                                "nickname": "Nectarine",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_60dacd922a33_avatar_62ad0c",
                                "gender": 0
                            },
                            {
                                "userId": "chid_b2c09e06bc1d",
                                "aliasName": "Peanut",
                                "nickname": "Peanut",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_b2c09e06bc1d_avatar_1a445c",
                                "gender": 0
                            },
                            {
                                "userId": "chid_b7f7b82686fc",
                                "aliasName": "Walnut",
                                "nickname": "Walnut",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_b7f7b82686fc_avatar_145e2d",
                                "gender": 0
                            },
                            {
                                "userId": "chid_c67d7f7add6c",
                                "aliasName": "Dates",
                                "nickname": "Dates",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_c67d7f7add6c_avatar_95c644",
                                "gender": 0
                            }
                        ]
                    },
                    {
                        "relId": 17,
                        "groupNo": "6700596881",
                        "name": "VKTPvkZPXb",
                        "avatarUrl": "https://picsum.photos/300",
                        "users": [
                            {
                                "userId": "chid_0376ad0ee5ff",
                                "aliasName": "Orange",
                                "nickname": "Orange",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_0376ad0ee5ff_avatar_dca37f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_1ac3d2e3e3df",
                                "aliasName": "Betelnut",
                                "nickname": "Betelnut",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_1ac3d2e3e3df_avatar_11fe3a",
                                "gender": 0
                            },
                            {
                                "userId": "chid_296e97915583",
                                "aliasName": "Apple",
                                "nickname": "Apple",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_296e97915583_avatar_7fb9d9",
                                "gender": 0
                            },
                            {
                                "userId": "chid_6a767e0ef1e7",
                                "aliasName": "Grapefruit",
                                "nickname": "Grapefruit",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_6a767e0ef1e7_avatar_47dcbe",
                                "gender": 0
                            },
                            {
                                "userId": "chid_85e98a9be358",
                                "aliasName": "Loquat",
                                "nickname": "Loquat",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_85e98a9be358_avatar_ad0d59",
                                "gender": 0
                            },
                            {
                                "userId": "chid_b199b2adb6df",
                                "aliasName": "Strawberry",
                                "nickname": "Strawberry",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_b199b2adb6df_avatar_29883e",
                                "gender": 0
                            },
                            {
                                "userId": "chid_c68c371b2cc8",
                                "aliasName": "Damson",
                                "nickname": "Damson",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_c68c371b2cc8_avatar_d0f0b2",
                                "gender": 0
                            },
                            {
                                "userId": "chid_d9db128bacb3",
                                "aliasName": "Mango",
                                "nickname": "Mango",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_d9db128bacb3_avatar_b95b9f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_dbea8818b5ef",
                                "aliasName": "Carambola",
                                "nickname": "Carambola",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_dbea8818b5ef_avatar_922525",
                                "gender": 0
                            },
                            {
                                "userId": "chid_e3231f735a3d",
                                "aliasName": "guest",
                                "nickname": "guest",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/guest_avatar_1707c6",
                                "gender": 0
                            },
                            {
                                "userId": "chid_f36dada73715",
                                "aliasName": "Haw",
                                "nickname": "Haw",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_f36dada73715_avatar_c6c7b2",
                                "gender": 0
                            }
                        ]
                    },
                    {
                        "relId": 28,
                        "groupNo": "5748675652",
                        "name": "nXQjCMtPfB",
                        "avatarUrl": "https://picsum.photos/300",
                        "users": [
                            {
                                "userId": "chid_1169567341e8",
                                "aliasName": "Durian",
                                "nickname": "Durian",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_1169567341e8_avatar_1ba211",
                                "gender": 0
                            },
                            {
                                "userId": "chid_296e97915583",
                                "aliasName": "Apple",
                                "nickname": "Apple",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_296e97915583_avatar_7fb9d9",
                                "gender": 0
                            },
                            {
                                "userId": "chid_308e7f9ee8b6",
                                "aliasName": "Watermelon",
                                "nickname": "Watermelon",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_308e7f9ee8b6_avatar_b72645",
                                "gender": 0
                            },
                            {
                                "userId": "chid_332cba36c0b4",
                                "aliasName": "Lotus",
                                "nickname": "Lotus",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_332cba36c0b4_avatar_d701cd",
                                "gender": 0
                            },
                            {
                                "userId": "chid_35e7a37989a8",
                                "aliasName": "Lichee",
                                "nickname": "Lichee",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_35e7a37989a8_avatar_8342d3",
                                "gender": 0
                            },
                            {
                                "userId": "chid_6a767e0ef1e7",
                                "aliasName": "Grapefruit",
                                "nickname": "Grapefruit",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_6a767e0ef1e7_avatar_47dcbe",
                                "gender": 0
                            },
                            {
                                "userId": "chid_7dc542eaec2e",
                                "aliasName": "Crabapple",
                                "nickname": "Crabapple",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_7dc542eaec2e_avatar_b734f6",
                                "gender": 0
                            },
                            {
                                "userId": "chid_c288090b3f7a",
                                "aliasName": "Pitaya",
                                "nickname": "Pitaya",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_c288090b3f7a_avatar_97bba3",
                                "gender": 0
                            },
                            {
                                "userId": "chid_d28fcf37b5a4",
                                "aliasName": "Lemon",
                                "nickname": "Lemon",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_d28fcf37b5a4_avatar_3cb59f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_e0259fcff4fd",
                                "aliasName": "Longan",
                                "nickname": "Longan",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_e0259fcff4fd_avatar_34c65a",
                                "gender": 0
                            }
                        ]
                    },
                    {
                        "relId": 35,
                        "groupNo": "1451504147",
                        "name": "GAMLpNHNoM",
                        "avatarUrl": "https://picsum.photos/300",
                        "users": [
                            {
                                "userId": "chid_0376ad0ee5ff",
                                "aliasName": "Orange",
                                "nickname": "Orange",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_0376ad0ee5ff_avatar_dca37f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_269b87e106f6",
                                "aliasName": "Guava",
                                "nickname": "Guava",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_269b87e106f6_avatar_a6a918",
                                "gender": 0
                            },
                            {
                                "userId": "chid_296e97915583",
                                "aliasName": "Apple",
                                "nickname": "Apple",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_296e97915583_avatar_7fb9d9",
                                "gender": 0
                            },
                            {
                                "userId": "chid_35e7a37989a8",
                                "aliasName": "Lichee",
                                "nickname": "Lichee",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_35e7a37989a8_avatar_8342d3",
                                "gender": 0
                            },
                            {
                                "userId": "chid_7123a2ecffd8",
                                "aliasName": "Papaya",
                                "nickname": "Papaya",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_7123a2ecffd8_avatar_38e04e",
                                "gender": 0
                            },
                            {
                                "userId": "chid_7be2cd8b6bc2",
                                "aliasName": "Muskmelon",
                                "nickname": "Muskmelon",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_7be2cd8b6bc2_avatar_297555",
                                "gender": 0
                            },
                            {
                                "userId": "chid_9ff40888f201",
                                "aliasName": "Mulberry",
                                "nickname": "Mulberry",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_9ff40888f201_avatar_362629",
                                "gender": 0
                            },
                            {
                                "userId": "chid_c68c371b2cc8",
                                "aliasName": "Damson",
                                "nickname": "Damson",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_c68c371b2cc8_avatar_d0f0b2",
                                "gender": 0
                            },
                            {
                                "userId": "chid_e3231f735a3d",
                                "aliasName": "guest",
                                "nickname": "guest",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/guest_avatar_1707c6",
                                "gender": 0
                            }
                        ]
                    },
                    {
                        "relId": 37,
                        "groupNo": "8777777243",
                        "name": "AwpEOzgeri",
                        "avatarUrl": "https://picsum.photos/300",
                        "users": [
                            {
                                "userId": "chid_0e66bfb33bd0",
                                "aliasName": "Olive",
                                "nickname": "Olive",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_0e66bfb33bd0_avatar_1b6411",
                                "gender": 0
                            },
                            {
                                "userId": "chid_1169567341e8",
                                "aliasName": "Durian",
                                "nickname": "Durian",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_1169567341e8_avatar_1ba211",
                                "gender": 0
                            },
                            {
                                "userId": "chid_296e97915583",
                                "aliasName": "Apple",
                                "nickname": "Apple",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_296e97915583_avatar_7fb9d9",
                                "gender": 0
                            },
                            {
                                "userId": "chid_332cba36c0b4",
                                "aliasName": "Lotus",
                                "nickname": "Lotus",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_332cba36c0b4_avatar_d701cd",
                                "gender": 0
                            },
                            {
                                "userId": "chid_4394d037f639",
                                "aliasName": "Banana",
                                "nickname": "Banana",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_4394d037f639_avatar_00f490",
                                "gender": 0
                            },
                            {
                                "userId": "chid_b2c09e06bc1d",
                                "aliasName": "Peanut",
                                "nickname": "Peanut",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_b2c09e06bc1d_avatar_1a445c",
                                "gender": 0
                            },
                            {
                                "userId": "chid_d28fcf37b5a4",
                                "aliasName": "Lemon",
                                "nickname": "Lemon",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_d28fcf37b5a4_avatar_3cb59f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_d9db128bacb3",
                                "aliasName": "Mango",
                                "nickname": "Mango",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_d9db128bacb3_avatar_b95b9f",
                                "gender": 0
                            },
                            {
                                "userId": "chid_e0259fcff4fd",
                                "aliasName": "Longan",
                                "nickname": "Longan",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_e0259fcff4fd_avatar_34c65a",
                                "gender": 0
                            },
                            {
                                "userId": "chid_f36dada73715",
                                "aliasName": "Haw",
                                "nickname": "Haw",
                                "avatarUrl": "http://101.43.102.215:9000/freechat-picture/chid_f36dada73715_avatar_c6c7b2",
                                "gender": 0
                            }
                        ]
                    }
                ],
                "ok": true
            })
        });
    }
    // /**
    //  * 获取群组列表
    //  */
    // ,findChatGroupList: () => {
    //     return request.get(`/chat/group/list`)
    //     // return new Promise((resolve, reject) => {
    //     //     resolve({
    //     //         ok:true,
    //     //         msg: "",
    //     //         data: []
    //     //     })
    //     // });
    // }

    /**
     * 获取好友申请列表
     */
    ,applyFriendList: () => {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }

    /**
     * 清空好友申请列表
     * @returns {Promise | Promise<unknown>}
     */
    ,clearApplyList:() => {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }

    , findMessageList: (chatter,isGroup,beforeTime) => {
        return new Promise((resolve, reject) => {
            resolve({
                ok:true,
                msg: "",
                data: []
            })
        });
    }

}